package com.zyl.pts.domain.vo.DRVO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.zyl.pts.domain.bean.Disease;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.domain.vo.DRVO
 * @ClassName: DRPageVO
 * @Description TODO()
 * @Author 翟玉龙
 * @Date 2024/11/19-20:01
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class DRPageVO {

    /**
     * 记录id
     */
    @JsonProperty("drId")
    private Integer drId;
    /**
     * 动物编号
     */
    @JsonProperty("drAnimalId")
    private String drAnimalId;
    /**
     * 症状描述
     */
    @JsonProperty("drDesc")
    private String drDesc;
    /**
     * 治疗过程描述
     */
    @JsonProperty("drCure")
    private String drCure;
    /**
     * 治疗时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("drTime")
    private LocalDateTime drTime;
    /**
     *  未治疗,治疗中,已治疗
     */
    @JsonProperty("drStatus")
    private String drStatus;
    /**
     * 病症类型id
     */
    @JsonProperty("drDId")
    private Integer drDId;

    /**
     * 病症类型
     */
    @JsonProperty("disease")
    private Disease disease;
}
